FROM daocloud.io/ubuntu

MAINTAINER dyucloud

# 环境安装
RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list \
    && apt update \
    && apt upgrade -y

RUN apt install -y memcached

ENTRYPOINT ["memcached"]

USER daemon

EXPOSE 11211
#docker build -t dyucloud/memcached .